package com.youth.framework.authority.entity;

import java.util.ArrayList;
import java.util.List;


/**
 * 用戶
 * @author pengsenlin
 *
 */	
public class Authority extends BaseAuth   {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * 权限id 主键
	 */
	
	private String authorityId;
	
	/**
	 * 权限名称
	 */
	private String authorityName;
	
	/**
	 * 权限描述
	 */
	private String authorityDesc;
	
	/**
	 * 该权限对应的资源
	 */
	private List<Resources> resourceList = new ArrayList<Resources>();

	public String getAuthorityId() {
		return authorityId;
	}

	public void setAuthorityId(String authorityId) {
		this.authorityId = authorityId;
	}

	public String getAuthorityName() {
		return authorityName;
	}

	public void setAuthorityName(String authorityName) {
		this.authorityName = authorityName;
	}

	public String getAuthorityDesc() {
		return authorityDesc;
	}

	public void setAuthorityDesc(String authorityDesc) {
		this.authorityDesc = authorityDesc;
	}

	public List<Resources> getResourceList() {
		return resourceList;
	}

	public void setResourceList(List<Resources> resourceList) {
		this.resourceList = resourceList;
	}

}
